const Label = ({ children, label, labelWidth, required, height }) => {
	return (
		<div style={{ height: height + 'px', display: 'flex' }}>
			<div style={{ width: labelWidth + 'px' }}>
				{required ? <span style={{ color: 'red' }}>*</span> : null}
				{label}
			</div>
			{children}
		</div>
	)
}

export default Label
